home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Language/OS - Multiplatform Resource Library
/
LANGUAGE OS.iso
/
p4
/
p4-1_2b.lha
/
p4-1.2b
/
util
/
defs.all
next >
Wrap
Text File
|
1993-01-06
|
7KB
|
384 lines
# top level makefile for P4
# BEGIN SUN
# P4 makefile for Sun
MACHINE = SUN
AR = ar ruv
FC = f77
CLINKER = cc
RANLIB = ranlib
MDEP_LIBS =
MDEP_CFLAGS =
MDEP_FFLAGS =
P4_OBJ = $(P4_COMM_OBJ) $(P4_SOCK_OBJ) $(P4_SHMEM_OBJ)
# END SUN
# BEGIN HP
# P4 makefile for HP
MACHINE = HP
AR = ar ruv
FC = f77
CLINKER = cc
RANLIB = true
MDEP_LIBS = -lV3
# -lV3 is for sighold, etc.
MDEP_CFLAGS =
MDEP_FFLAGS =
P4_OBJ = $(P4_COMM_OBJ) $(P4_SOCK_OBJ) $(P4_SHMEM_OBJ)
# END HP
# BEGIN DEC5000
# P4 makefile for DEC 5000
# DEC looks like a Sun workstation
MACHINE = DEC5000
AR = ar ruv
FC = f77
CLINKER = cc
RANLIB = ranlib
MDEP_LIBS =
MDEP_CFLAGS =
MDEP_FFLAGS =
P4_OBJ = $(P4_COMM_OBJ) $(P4_SOCK_OBJ) $(P4_SHMEM_OBJ)
# END DEC5000
# BEGIN RS6000
# P4 makefile for IBM RS/6000
MACHINE = RS6000
AR = ar ruv
FC = xlf
CLINKER = cc
RANLIB = true
MDEP_LIBS =
MDEP_CFLAGS =
MDEP_FFLAGS = -qextname
P4_OBJ = $(P4_COMM_OBJ) $(P4_SOCK_OBJ) $(P4_SHMEM_OBJ)
# END RS6000
# BEGIN IBM3090
# P4 makefile for IBM 3090 running AIX
MACHINE = IBM3090
AR = ar ruv
CLINKER = cc
FC = fvs
RANLIB = true
MDEP_LIBS =
MDEP_CFLAGS =
MDEP_FFLAGS =
P4_OBJ = $(P4_COMM_OBJ) $(P4_SOCK_OBJ) $(P4_SHMEM_OBJ)
# END IBM3090
# BEGIN TITAN
# P4 makefile for Ardent Titan
MACHINE = TITAN
AR = ar ruv
FC = fc
CLINKER = cc
RANLIB = true
MDEP_LIBS =
MDEP_CFLAGS =
MDEP_FFLAGS =
P4_OBJ = $(P4_COMM_OBJ) $(P4_SOCK_OBJ) $(P4_SHMEM_OBJ)
# END TITAN
# BEGIN SGI
# P4 makefile for Silicon Graphics
MACHINE = SGI
AR = ar ruv
FC = f77
CLINKER = cc
RANLIB = true
MDEP_LIBS = -lsun
MDEP_CFLAGS = -cckr
MDEP_FFLAGS =
P4_OBJ = $(P4_COMM_OBJ) $(P4_SOCK_OBJ) $(P4_SHMEM_OBJ)
# END SGI
# BEGIN NEXT
# P4 makefile for NeXT
MACHINE = NEXT
AR = ar ruv
FC = f77
CLINKER = cc
RANLIB = ranlib
MDEP_LIBS =
MDEP_CFLAGS =
MDEP_FFLAGS =
P4_OBJ = $(P4_COMM_OBJ) $(P4_SOCK_OBJ) $(P4_SHMEM_OBJ)
# END NEXT
# BEGIN KSR
# P4 makefile for Kendall Square
MACHINE = KSR
AR = ar ruv
FC = f77
CLINKER = cc
RANLIB = true
MDEP_LIBS = -lrpc
MDEP_CFLAGS =
MDEP_FFLAGS =
P4_OBJ = $(P4_COMM_OBJ) $(P4_SOCK_OBJ) $(P4_SHMEM_OBJ)
# END KSR
# BEGIN FX8
# P4 makefile for Alliant FX/8
MACHINE = FX8
AR = ar ruv
FC = fortran
CLINKER = cc
RANLIB = ranlib
MDEP_LIBS =
MDEP_CFLAGS = -nc
MDEP_FFLAGS = -nc
P4_OBJ = $(P4_COMM_OBJ) $(P4_SOCK_OBJ) $(P4_SHMEM_OBJ)
# END FX8
# BEGIN FX2800
# P4 makefile for Alliant FX/800 and FX/2800
MACHINE = FX2800
AR = ar ruv
FC = fortran
CLINKER = cc
RANLIB = ranlib
MDEP_LIBS = -lalliant
MDEP_CFLAGS = -nc
MDEP_FFLAGS = -nc
P4_OBJ = $(P4_COMM_OBJ) $(P4_SOCK_OBJ) $(P4_SHMEM_OBJ)
# END FX2800
# BEGIN FX2800_SWITCH
# P4 makefile for Alliant FX/800 and Fx/2800 with HiPPI Switch
MACHINE = FX2800_SWITCH
AR = ar ruv
FC = fortran
CLINKER = cc
RANLIB = ranlib
MDEP_LIBS = /usr/local/lib/libsw.a -lalliant
MDEP_CFLAGS = -nc -I/usr/local/include
MDEP_FFLAGS = -nc
P4_OBJ = $(P4_COMM_OBJ) $(P4_SOCK_OBJ) $(P4_SHMEM_OBJ)
# END FX2800_SWITCH
# BEGIN DELTA
# P4 makefile for Intel DELTA
MACHINE = DELTA
FILE_LINK = ln -s
AR = ar860 r
FC = if77
CLINKER = icc
RANLIB = true
MDEP_LIBS = -lsocknode
MDEP_CFLAGS = -node -i860
MDEP_FFLAGS = -node -i860
P4_OBJ = $(P4_COMM_OBJ) $(P4_SOCK_OBJ)
CC = icc
# END DELTA
# BEGIN IPSC860
# P4 makefile for Intel iPSC860 node with Portland Group Compilers
MACHINE = IPSC860
FILE_LINK = ln -s
AR = ar860 r
FC = if77
CLINKER = icc
RANLIB = true
#MDEP_LIBS = -lnode
MDEP_CFLAGS = -O3 -Mvect -node
MDEP_FFLAGS = -O3 -Mvect -node
P4_OBJ = $(P4_COMM_OBJ)
CC = icc
# END IPSC860
# BEGIN NCUBE
# P4 makefile for nCube nodes
MACHINE = NCUBE
FILE_LINK = ln -s
AR = nar r
FC = nf77
CLINKER = ncc
FLINKER = nf77
RANLIB = true
MDEP_CFLAGS =
MDEP_FFLAGS =
P4_OBJ = $(P4_COMM_OBJ)
CC = ncc
# END NCUBE
# BEGIN CM5
# P4 makefile for Thinking Machine's CM-5
MACHINE = CM5
FILE_LINK = ln -s
AR = ar ruv
FC = f77
CLINKER = cmmd-ld -comp cc
FLINKER = cmmd-ld -comp f77
RANLIB = ranlib
MDEP_CFLAGS =
MDEP_FFLAGS =
P4_OBJ = $(P4_COMM_OBJ)
CC = cc
# END CM5
# BEGIN IPSC860_SOCKETS
# P4 makefile for Intel iPSC860 node with sockets and Portland Group Compilers
MACHINE = IPSC860_SOCKETS
FILE_LINK = ln -s
AR = ar860 r
FC = if77
CLINKER = icc
RANLIB = true
MDEP_LIBS = -lsocknode
MDEP_CFLAGS = -O3 -Mvect -node
MDEP_FFLAGS = -O3 -Mvect -node
P4_OBJ = $(P4_COMM_OBJ) $(P4_SOCK_OBJ)
CC = icc
# END IPSC860_SOCKETS
# BEGIN BALANCE
# P4 makefile for Sequent Balance
MACHINE = BALANCE
FILE_LINK = ln
FC = fortran
AR = ar ruv
CLINKER = cc
RANLIB = ranlib
MDEP_LIBS= -lpps -lseq
MDEP_CFLAGS =
MDEP_FFLAGS =
P4_OBJ = $(P4_COMM_OBJ) $(P4_SOCK_OBJ) $(P4_SHMEM_OBJ)
P = &
# END BALANCE
# BEGIN SYMMETRY
# P4 makefile for Sequent Symmetry
MACHINE = SYMMETRY
FILE_LINK = ln
FC = fortran
AR = ar ruv
CLINKER = cc
RANLIB = ranlib
MDEP_LIBS= -lpps -lseq
MDEP_CFLAGS =
MDEP_FFLAGS =
P4_OBJ = $(P4_COMM_OBJ) $(P4_SOCK_OBJ) $(P4_SHMEM_OBJ)
P = &
# END SYMMETRY
# BEGIN SYMMETRY_PTX
# P4 makefile for Sequent Symmetry PTX
#
# The '-Wc,-seq' option is needed to recognize
# variable types "shared" or "private", etc.
#
MACHINE = SYMMETRY_PTX
FILE_LINK = ln
FC = fortran
AR = ar ruv
CLINKER = cc
RANLIB = true
MDEP_LIBS= -lpps -lseq -lrpc -lsocket -linet -lnsl
MDEP_CFLAGS = -Wc,-seq
P4_OBJ = $(P4_COMM_OBJ) $(P4_SOCK_OBJ) $(P4_SHMEM_OBJ)
# P4_OBJ = $(P4_COMM_OBJ) $(P4_SHMEM_OBJ)
P = &
# END SYMMETRY_PTX
# BEGIN MULTIMAX
# P4 makefile for Encore Multimax
MACHINE = MULTIMAX
FILE_LINK = ln
FC = f77
AR = ar ruv
CLINKER = cc
RANLIB = ranlib
MDEP_LIBS= -lpp
MDEP_CFLAGS =
MDEP_FFLAGS =
P4_OBJ = $(P4_COMM_OBJ) $(P4_SOCK_OBJ) $(P4_SHMEM_OBJ)
# END MULTIMAX
# BEGIN CRAY
# P4 makefile for Cray
MACHINE = CRAY
AR = ar ruv
CC = scc
FC = cf77
CLINKER = scc
RANLIB = true
MDEP_LIBS = -lrpc,net
MDEP_CFLAGS =
MDEP_FFLAGS =
P4_OBJ = $(P4_COMM_OBJ) $(P4_SOCK_OBJ) $(P4_SHMEM_OBJ)
# END CRAY
# BEGIN GP_1000
# P4 makefile for BBN Butterfly GP-1000
MACHINE = GP_1000
FILE_LINK = ln
AR = ar ruv
FC = f77
CLINKER = cc
RANLIB = ranlib
MDEP_LIBS= -lus
MDEP_CFLAGS =
MDEP_FFLAGS =
P4_OBJ = $(P4_COMM_OBJ) $(P4_SOCK_OBJ) $(P4_SHMEM_OBJ)
P = $(PARALLEL)
# END GP_1000
# BEGIN TC_2000
# P4 makefile for BBN Butterfly TC-2000
MACHINE = TC_2000
FILE_LINK = ln
FC = f77
AR = ar ruv
CLINKER = cc
RANLIB = ranlib
MDEP_LIBS= -lus
MDEP_CFLAGS =
MDEP_FFLAGS =
P4_OBJ = $(P4_COMM_OBJ) $(P4_SOCK_OBJ) $(P4_SHMEM_OBJ)
P = $(PARALLEL)
# END TC_2000
# BEGIN TC_2000_TCMP
# P4 makefile for BBN Butterfly TC_2000 with TCMP message-passing library
MACHINE = TC_2000_TCMP
FILE_LINK = ln
FC = f77
AR = ar ruv
P = $(PARALLEL)
CLINKER = cc
RANLIB = ranlib
#TCMP_LIBDIR = /Net/sparky/sparky1/lusk/lepido/tcmp
TCMP_LIBDIR = /usr/bbnm/tcmp
TCMPLIB = $(TCMP_LIBDIR)/libtcmpnew.a # or see system administrator
MDEP_LIBS = $(TCMPLIB) -lus
MDEP_CFLAGS =
MDEP_FFLAGS =
P4_OBJ = $(P4_COMM_OBJ) $(P4_SOCK_OBJ) $(P4_SHMEM_OBJ)
# END TC_2000_TCMP
# BEGIN COMMON
RM = /bin/rm
CFLAGS = -g -I$(INCLUDEDIR) $(MDEP_CFLAGS) $(USER_CFLAGS)
FFLAGS = -g -I$(FORTLIBDIR) $(MDEP_FFLAGS)
.SUFFIXES: .o .c .f .h
.c.o:$(P)
$(CC) $(CFLAGS) -c $*.c
.f.o:$(P)
$(FC) $(FFLAGS) -c $*.f
dummy: default
clean:
$(RM) -f *~ *.o *.bak tags TAGS core
# END COMMON